import { Column, Entity } from 'typeorm';

import { ApiProperty } from '@nestjs/swagger';
import { BaseEntity } from '../base.entity';

@Entity({ name: 'sys_component_use' })
export default class SysComponentUse extends BaseEntity {
  @ApiProperty()
  cid: number;

  @ApiProperty()
  @Column()
  love: number;

  @ApiProperty()
  @Column({ name: 'usenumber' })
  useNumber: number;
}
